package com.laoli.myspringboottest.enums;

import java.util.HashMap;
import java.util.Map;

/**
 * @author: DiegoSun
 * @time: 2021/10/21 下午2:30
 * @description: 这里的轮廓包括轮廓线与台车架
 */
public enum ItemType {

    // 对称车架
    SYMMETRY_TYPE,

    // 2层4区台车架
    TWO_FLOOR,

    // 3层6区1阶台车架
    THREE_FLOOR_ONE_STEP,

    // 3层6区2阶台车架
    THREE_FLOOR_TWO_STEP,

    // 4层8区台车架
    FOUR_FLOOR,

    // 4层8区2阶
    FOUR_FLOOR_TWO_STEP;

    public static final Map<String, ItemType> map;

    static {
        map = new HashMap<>();
        map.put("二层", TWO_FLOOR);
        map.put("三层一阶", THREE_FLOOR_ONE_STEP);
        map.put("三层二阶", THREE_FLOOR_TWO_STEP);
        map.put("四层", FOUR_FLOOR);
        map.put("四层二阶", FOUR_FLOOR_TWO_STEP);
    }
}
